package com.lch.designpattern.singleton.lazy;

/**
 * @author: liuchenhui
 * @create: 2019-04-16 23:23
 **/
public class LazyDoubleCheckSingletonTest {
    public static void main(String[] args) {
        Thread thread1 = new Thread(new LazyDoubleCheckSingletonRunable());
        Thread thread2 = new Thread(new LazyDoubleCheckSingletonRunable());

        thread1.start();
        thread2.start();

        System.out.println("End");
    }
}